package javase.homework.design_company_and_position;

import java.util.ArrayList;
import java.util.List;

class Company {
    private Integer companyId;
    private String companyName;
    private String companyType;
    private List<String> companyPosition;

    public Company(Integer companyId, String companyName, String companyType, List<String> companyPosition) {
        this.companyId = companyId;
        this.companyName = companyName;
        this.companyType = companyType;
        this.companyPosition = companyPosition;
    }



    public Company() {
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyType() {
        return companyType;
    }

    public void setCompanyType(String companyType) {
        this.companyType = companyType;
    }

    public List<String> getCompanyPosition() {
        return companyPosition;
    }

    public void setCompanyPosition(List<String> companyPosition) {
        this.companyPosition = companyPosition;
    }

    @Override
    public String toString() {
        return "Company{" +
                "companyId=" + companyId +
                ", companyName='" + companyName + '\'' +
                ", companyType='" + companyType + '\'' +
                ", companyPosition=" + companyPosition +
                '}';
    }
}
